package service;

import bean.Goods;
import bean.Cart;

public interface CartService {

    int addbook(Goods goods, int userId);

    int deletebook(int itemId,int userId);

    int updateCount(int itemId,int count);

    int syncInfo(Goods goods);

    int clear(int userId);

    Cart getCartInfo(int userId);
}
